package com.tuanzi.loan.log.service;

import org.springframework.data.domain.Page;

import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.log.entity.LoginLogAction;
import com.tuanzi.loan.log.vo.request.LoginLogSearchRequest;
import com.tuanzi.loan.log.vo.response.LoginLogSearchResponse;

/**
 * @author Ray 2017/10/08
 */
public interface LoginLogService {

    void log(LoginLogAction action, String username, String ip);

    void log(LoginLogAction action, String username, String ip, String remark);

    public Page<LoginLogSearchResponse> list(PageSearcher<LoginLogSearchRequest> pageSearcher);

}
